﻿<Window x:Class="ThePingMasterConfiguration.AboutWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ViewModels="clr-namespace:ThePingMasterConfiguration.ViewModels"
        Title="About The Ping Master" Height="365" Width="558" ResizeMode="NoResize" ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner">
    <Window.DataContext>
        <ViewModels:AboutModel />
    </Window.DataContext>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Text="The Ping Master" FontSize="18" FontWeight="DemiBold" />
        <TextBlock Grid.Row="1" Text="Version 0.9.0.0" />
        <TextBlock Grid.Row="2">
            <Hyperlink NavigateUri="{Binding WebsiteLink}" Command="{Binding OpenWebsiteCommand}">http://thepingmaster.codeplex.com</Hyperlink>
        </TextBlock>
        <TextBox Grid.Row="3" IsReadOnly="True" AcceptsReturn="True" TextWrapping="WrapWithOverflow" VerticalScrollBarVisibility="Auto" Text="{Binding License, Mode=OneWay}" />
        <Button HorizontalAlignment="Right" Grid.Row="4" Content="Ok" Style="{StaticResource ActionButton}" Click="Button_Click" />
    </Grid>
</Window>
